package com.xzy.seckill.service;

import com.xzy.seckill.pojo.entity.Goods;
import com.xzy.seckill.pojo.entity.Order;
import com.xzy.seckill.pojo.entity.SeckillOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xzy.seckill.pojo.vo.SeckillGoodDetailVO;

import java.util.Map;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicReference;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xzy
 * @since 2022-01-27
 */
public interface SeckillOrderService extends IService<SeckillOrder> {



    Order doSeckill2(Integer userId, SeckillGoodDetailVO goods);

     boolean checkOrder(Integer userId,Integer goodsId);

    Map<String,Boolean> getSotckTag();

}
